<p>
  hello 考勤统计
</p>

<li>
    <div>员工类型</div>
  <select name="员工类型" id="type" required>
  <option value=0>全体员工</option>
  <option value=1>普通员工</option>
  <option value=001>行政部员工</option>
  <option value=002>财务部员工</option>
  <option value=003>人力资源部员工</option>
  <option value=004>生产技术部员工</option>
  </select>
  </li>
  
  <li>
    <div>员工编号</div>
    <input  placeholder="员工编号" id="admin_id" maxlength="6" >
  </li>
  
  <li>
    <div>某年某月</div>
  <input  name="某年某月" id="start_time" minlength="7" maxlength="7" placeholder="YYYY-MM"  required>
  </li>
  
  <div class="buttons">
      <button type="submit" (click)="sort()" value="查询" >查询</button>
  </div>
 
  
  <!---<li *ngFor="let n of out">
    {{n.satrt_time}} {{n.days}}
    out
  </li>
  <li *ngFor="let n of leave">
    {{n.satrt_time}} {{n.day}} {{n.type}} 
    leave
  </li>

  <li *ngFor="let n of g">
      {{n.id}}  {{n.admin_id}}  {{n.year}} {{n.month}} {{n.day}}  {{n.time}}
  </li>-->
  
  <li>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</li>
  admin_no attendDay
  <li *ngFor="let n of absence">
    {{n.admin_id}} {{n.absenceDay}}
  </li>

  <nav *ngIf="flag">
    <li>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</li>
      <li>attendanceRecord</li>
      dept_no admin_no year month day time 
    <li *ngFor="let n of g">
        {{n.dept_no}}  {{n.admin_id}}  {{n.year}}/{{n.month}}/{{n.day}}  {{n.time}}
    </li>
    </nav>

    <nav *ngIf="flag">
        <li>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</li>
        <li>outRecord</li>
       admin_id start_time  day
      <li *ngFor="let n of ou">
       {{n.admin_id}}  {{n.satrt_time}} {{n.days}}
      </li>
      </nav>

      <nav *ngIf="flag">
          <li>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</li>
          <li>leaveRecord</li>
         admin_id start_time   day type
        <li *ngFor="let n of le">
         {{n.admin_id}}  {{n.satrt_time}} {{n.days}} {{n.type}}
        </li>
        <li>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</li>
        </nav>